﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Default2 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["UserName"].ToString().Trim() != "")
        {
            Response.Write("<Script language=JavaScript>alert('欢迎" + Session["UserName"] + "光临,你的密码是：" + Request["pwd"].ToString() + "')</Script>");
        }
        else
        {
            Response.Redirect("SessionVariableNew.aspx");
        }

    }
}
